package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import com.csun.cmny.provider.dto.ReportItemDto;
import lombok.Data;

import javax.persistence.*;
import java.util.List;

@Data
@Table(name = "cn_omc_service_item")
public class OmcServiceItem extends BaseEntity {

    /*
    * 服务id
    * */
    @Column(name = "service_Id")
    private Long serviceId;

    /**
     * 流程顺序
     */
    @Column(name = "item_order")
    private Integer itemOrder;

    /**
     * 服务项名称
     */
    @Column(name = "item_name")
    private String itemName;

    /**
     * 服务项类型
     */
    @Column(name = "item_type")
    private Integer itemType;

    @Transient
    private List<ReportItemDto> reportItemDtos;

}